<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> {cms>:C('site_title')} {cms>:C('site_name')}</title>
<meta name="keywords" content="{cms>:C('keyword')}" />
<meta name="description" content="{cms>:C('content')}" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<script>var SITEURL='';</script>
<link rel="stylesheet" type="text/css" href="{cms>:RES}/css/style_2_common.css?BPm" />
<script src="{cms>:RES}/js/common.js" type="text/javascript"></script>
</head>

<body id="nv_member" class="pg_CURMODULE">
<div class="topbg">
	<div class="top">
		<div class="toplink">
			<style>
			.topbg{BACKGROUND-IMAGE: url({cms>:RES}/images/top.png);BACKGROUND-REPEAT: repeat-x; height:124px; box-shadow:0 0 10px #000;-moz-box-shadow:0 0 10px #000;-webkit-box-shadow:0 0 10px #000;}
			.top {MARGIN: 0px auto; WIDTH: 988px; HEIGHT: 124px;}
			.top .toplink{ height:27px; line-height:27px; color:#999; font-size:12px;}
			.top .toplink .welcome{ float:left;}
			.top .toplink .memberinfo{ float:right;}
			.top .toplink .memberinfo a{ color:#999;}
			.top .toplink .memberinfo a:hover{ color:#F90}
			.top .toplink .memberinfo a.green{ background:none; color:#0C0}
			.top .logo {WIDTH: 990px;COLOR: #333; height:70px;  FONT-SIZE:16px; PADDING-TOP:25px}
			.top h1{ font-size:25px; margin-top:20px; float:left; width:230px; margin:0; padding:0;}
			.top .navr {WIDTH:750px; float:right; overflow:hidden; margin-top:10px;}
			.top .navr ul{ width:850px;}
			.navr LI {TEXT-ALIGN:center;FLOAT: left;HEIGHT:32px;FONT-SIZE:1em;width:103px; margin-right:5px;}
			.navr LI A {width:103px;TEXT-ALIGN:center; LINE-HEIGHT:30px; FLOAT: left;HEIGHT:32px;COLOR: #333; FONT-SIZE: 1em;TEXT-DECORATION: none}
			.navr LI A:hover {BACKGROUND: url({cms>:RES}/images/navhover.gif) center no-repeat;color:#009900;}
			.navr LI.menuon {BACKGROUND: url({cms>:RES}/images/navon.gif) center no-repeat; display:block;width:103px;HEIGHT:32px;}
			.navr LI.menuon a{color:#FFF;}
			.navr LI.menuon a:hover{BACKGROUND: url(img/navon.gif) center no-repeat;}
			.banner{height:200px; text-align:center; border-bottom:2px solid #ddd;}
			.hbanner{ background: url(img/h2003070126.jpg) center no-repeat #B4B4B4;}
			.gbanner{ background: url(img/h2003070127.jpg) center no-repeat #264C79;}
			.jbanner{ background: url(img/h2003070128.jpg) center no-repeat #E2EAD5;}
			.dbanner{ background: url(img/h2003070129.jpg) center no-repeat #009ADA;}
			.nbanner{ background: url(img/h2003070130.jpg) center no-repeat #ffca22;}
			</style>
			<div class="welcome">欢迎使用{cms>:C('site_name')}多用户微信营销服务平台!</div>
			<div class="memberinfo" id="destoon_member">
				<if condition="$_SESSION['uid']==false"><a href="{cms>:U('Index/login')}">登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;
				<a href="{cms>:U('Index/login')}">注册</a>
				<else/>你好,<a href="{cms>:U('User/Index/index')}" hidefocus="true"  ><span style="color:red">{cms>$Think.session.uname}</span></a>
				<a href="javascript:void(0)" onclick="Javascript:window.open('{cms>:U('Admin/Admin/logout')}','_self')" >退出</a></if>
				
			</div>
		</div>
		<div class="logo">
			<div style="float:left"></div>
			<h1><a href="{cms>:C('site')}" title="{cms>:C('site_title')}"><img src="{cms>:RES}/images/logo-system.png" /></a></h1>
			<div class="navr">
				<ul id="topMenu">         
					<li <eq name="MODULE_NAME" value="Index">class="menuon"</eq>><a href="{cms>:U('User/Index/index')}">管理中心</a></li>
					<li <eq name="MODULE_NAME" value="Areply">class="menuon"</eq>><a href="{cms>:U('User/Areply/index',array('token'=>$token))}">基础设置</a></li>
					<li <eq name="MODULE_NAME" value="Home">class="menuon"</eq>><a href="{cms>:U('User/Home/set',array('token'=>$token))}">微网站</a></li>
					<li <eq name="MODULE_NAME" value="Lottery">class="menuon"</eq>><a href="{cms>:U('User/Lottery/index',array('token'=>$token))}">微营销</a></li>
					<li <eq name="MODULE_NAME" value="Member_card">class="menuon"</eq>><a href="{cms>:U('User/Member_card/index',array('token'=>$token))}">微会员</a></li>
					<li <eq name="MODULE_NAME" value="Pay_m_alipay_config">class="menuon"</eq>><a href="{cms>:U('User/Pay_m_alipay_config/index',array('token'=>$token))}">微商城</a></li>
					<li <eq name="MODULE_NAME" value="Stats">class="menuon"</eq>><a href="{cms>:U('User/Stats/index',array('token'=>$token))}">微统计</a></li>
				</ul>
			</div>
		</div>
	</div>
</div>

<div id="aaa"></div>
<div id="wp" class="wp">
	<link href="{cms>:RES}/css/style.css" rel="stylesheet" type="text/css" />
	<script src="{cms>:STATICS}/jquery-1.4.2.min.js" type="text/javascript"></script>
	<div class="contentmanage">
		<div class="developer">
			<div class="appTitle normalTitle2">
				<div class="vipuser">
					<div class="logo">
						<img src="{cms>$wecha.headerpic}" width="100" height="100">
					</div>
					<div id="nickname">
						<strong>{cms>$wecha.wxname}</strong><a href="{cms>:U('Function/index',array('token'=>$token,'id'=>session('wxid')))}" target="_self" class="vipimg vip-icon<php>echo $userinfo['id']-1;</php>" title=""></a>
					</div>
					<div id="weixinid">微信号:{cms>$wecha.weixin}</div>
				</div>
				<div class="clr"></div>
			</div>
			
			<div class="tableContent">
				<!--left-menu-->
			   <div class="sideBar" id="sideBar">
					<div class="catalogList">
						<ul>
							<div class="nav-header">基础设置</div>
							<li <if condition="MODULE_NAME eq 'Areply'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Areply/index',array('token'=>$token))}">关注时回复</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Text'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Text/index',array('token'=>$token))}">文本回复</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Img'">class="selected" <else/> class="subCatalogList"</if>>
								<a href="{cms>:U('Img/index',array('token'=>$token))}">图文回复</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Voiceresponse'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Voiceresponse/index',array('token'=>$token))}">语音回复</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Company'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Company/index',array('token'=>$token))}">LBS回复</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Other'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Other/index',array('token'=>$token))}">回答不上来的配置</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Index' AND ACTION_NAME eq 'editsms'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Index/editsms',array('id'=>session('wxid')))}">短信平台配置</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Index' AND ACTION_NAME eq 'editemail'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Index/editemail',array('token'=>$token))}">邮件平台配置</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Index' AND ACTION_NAME eq 'edityun'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Index/edityun',array('token'=>$token))}">云相册配置</a>
							</li>
							<!--li <if condition="MODULE_NAME eq 'lbslist'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="javascript:alert('已经实现智能地理位置回复，无需人工设置')">LBS回复</a><span class="new"></span>
							</li-->
						</ul>
						<ul>
							<div class="nav-header">3G网站设置</div>
							<li <if condition="MODULE_NAME eq 'Home' AND ACTION_NAME eq 'set'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Home/set',array('token'=>$token))}">首页回复配置</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Classify'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Classify/index',array('token'=>$token))}">分类管理</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Tmpls'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Tmpls/index',array('token'=>$token))}">模板管理</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Flash'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Flash/index',array('token'=>$token))}">首页幻灯片</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Yulan'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Yulan/index',array('token'=>$token))}" target="_blank">微网站预览</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Diymen'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Diymen/index',array('token'=>$token))}">自定义菜单</a>
							</li>
                         <li <if condition="MODULE_NAME eq 'Home' AND ACTION_NAME eq 'menuplus'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Home/menuplus',array('token'=>$token))}">一键导航</a>
							</li>
						</ul>
						<ul>
							<div class="nav-header">电商系统</div>
                             <li <if condition="MODULE_NAME eq 'Pay_m_alipay_config'">class="selected" <else/>class="subCatalogList"</if>> 
                             	<a href="{cms>:U('Pay_m_alipay_config/index',array('token'=>$token))}">支付宝设置</a></li>
							<li <if condition="MODULE_NAME eq 'Taobao'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Taobao/index',array('token'=>$token))}">淘宝天猫店铺配置</a></li>
							<li <if condition="MODULE_NAME eq 'Adma'">class="selected"<else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Adma/index',array('token'=>$token))}">DIY宣传页</a></li>
							<li <if condition="MODULE_NAME eq 'Photo'">class="selected"<else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Photo/index',array('token'=>$token))}">3G图集(相册)</a>
							</li>
							 <li <if condition="MODULE_NAME eq 'Host'">class="selected"<else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Host/index',array('token'=>$token))}">通用订单(酒店,KTV)</a></li> 
							 <li <if condition="(MODULE_NAME eq 'Groupon') or (MODULE_NAME eq 'Reply_info')">class="selected"<else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Groupon/index',array('token'=>$token))}">微团购</a>
							 </li>
							 <li <if condition="(MODULE_NAME eq 'Product') and (ACTION_NAME neq 'orders')">class="selected"<else/>class="subCatalogList"</if> >
								<a href="{cms>:U('Product/index',array('token'=>$token))}">微商城</a>
							</li> 
                           <li <if condition="MODULE_NAME eq 'Panoramic'">class="selected"<else/>class="subCatalogList"</if>>
									<a href="{cms>:U('Panoramic/index',array('token'=>$token))}">全景相册</a>
								</li>
							<li <if condition="ACTION_NAME eq 'orders'">class="selected"<else/>class="subCatalogList"</if> >
								<a href="{cms>:U('Product/orders',array('token'=>$token,'dining'=>1))}">无线订餐（网络打印）</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Selfform'">class="selected"<else/>class="subCatalogList"</if> >
								<a href="{cms>:U('Selfform/index',array('token'=>$token))}">万能表单,报名,留言,预约</a>
							</li>
						</ul>
						<ul>
							<div class="nav-header">推广活动</div>
							<li <if condition="MODULE_NAME eq 'Lottery'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Lottery/index',array('token'=>$token))}">幸运大转盘</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Coupon'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Coupon/index',array('token'=>$token))}">优惠券</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Guajiang'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Guajiang/index',array('token'=>$token))}">刮刮卡</a>
							</li>
                           <li <if condition="MODULE_NAME eq 'Marrycard'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Marrycard/index',array('token'=>$token))}">微喜帖</span></a>
							</li>
							<li <if condition="MODULE_NAME eq 'Goldegg'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Goldegg/index',array('token'=>$token))}">砸金蛋</span></a>
							</li>
							
							<li <if condition="MODULE_NAME eq 'QrCode'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('QrCode/index',array('token'=>$token))}">二维码<span class="new"></span></a>
							</li>
						</ul>
						<ul>
						<div class="nav-header">会员卡</span></div>
							<li <if condition="MODULE_NAME eq 'Member_card' AND ACTION_NAME eq 'index'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Member_card/index',array('token'=>$token))}">会员卡设计</a>
							</li>
							<li <if condition="MODULE_NAME eq 'Member_card' AND ACTION_NAME neq 'index' AND ACTION_NAME neq 'exchange' AND ACTION_NAME neq 'create' AND ACTION_NAME neq 'info'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Member_card/privilege',array('token'=>$token))}">会员特权</a>
							</li>
							<li <if condition="ACTION_NAME eq 'info'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Member_card/info',array('token'=>$token))}">会员卡详情</a>
							</li>
							<li <if condition="ACTION_NAME eq 'create'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Member_card/create',array('token'=>$token))}">在线开卡(自定义卡号)</a>
							</li>
							<li <if condition="ACTION_NAME eq 'exchange'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Member_card/exchange',array('token'=>$token))}">积分设置</a>
							</li>
								<li <if condition="MODULE_NAME eq 'Member'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Member/index',array('token'=>$token))}">会员资料管理</a>
							</li>
						</ul>
						
						<ul>
							<div class="nav-header">用户管理</div>
							<li <if condition="ACTION_NAME eq 'unanswer'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('WxMsg/unanswer')}">未回答消息</a>
							</li>
							
							<li <if condition="ACTION_NAME eq 'allmsg'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('WxMsg/allmsg')}">所有消息</a>
							</li>
							
							<li <if condition="(MODULE_NAME eq 'SubscribeGroup') AND (ACTION_NAME eq 'index')">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('SubscribeGroup/index')}">分组管理</a>
							</li>
							
							<li <if condition="(MODULE_NAME eq 'SubscribeGroup') AND (ACTION_NAME eq 'subscriberindex')">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('SubscribeGroup/subscriberindex')}">分组用户</a>
							</li>
						</ul>
						
						
						<ul>
							<div class="nav-header">统计分析</div>
							<li <if condition="MODULE_NAME eq 'Stats'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('Stats/index',array('token'=>$token))}">请求数详情</a>
							</li>
							
							<li <if condition="MODULE_NAME eq 'SubscribeMember'">class="selected" <else/>class="subCatalogList"</if>>
								<a href="{cms>:U('SubscribeMember/index',array('token'=>$token))}">关注我的用户<span class="new"></span></a>
							</li>
						</ul>
					</div>
				</div>